//
//  ZZRepairFirstCostVC.m
//  新项目
//
//  Created by liGordon on 17/3/9.
//  Copyright © 2017年 刘耀宗. All rights reserved.
//

#import "ZZRepairFirstCostVC.h"

@interface ZZRepairFirstCostVC ()

@end

@implementation ZZRepairFirstCostVC

- (void)viewDidLoad {
    [super viewDidLoad];
   self.title = @"维修成本核算";
}


#pragma mark - 初始化时间
-(void)initTime
{
    NSDate *date=[NSDate date];
    NSDateFormatter *formatter=[[NSDateFormatter alloc] init];
    formatter.dateFormat=@"yyyy-MM-dd";
    NSString *STR=[formatter stringFromDate:date];
    [self.RQBtn2 setTitle:STR forState:0];
    
    NSTimeInterval time=24*60*60*31;
    NSDate *date1=[date dateByAddingTimeInterval:-time];
    NSString *STR2=[formatter stringFromDate:date1];
    [self.RQBtn1 setTitle:STR2 forState:0];
}
@end
